package com.share.user;


import com.share.common.security.annotation.EnableCustomConfig;
import com.share.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 系统模块
 *
 * @author share
 */
@EnableCustomConfig
@EnableRyFeignClients
@ComponentScan(basePackages = {
        "com.share"
})
@SpringBootApplication(exclude = {
        MongoAutoConfiguration.class,
        MongoDataAutoConfiguration.class
})
public class ShareUserApplication {

    public static void main(String[] args)
    {
        SpringApplication.run(ShareUserApplication.class, args);
    }

}
